package domains;

import org.joda.time.DateTime;

public class Contingent {
	private int contingentId;
	private DateTime startDate, endDate;
	private int memberId;
	private String fName, lName;
	
	public Contingent(int contingentId, DateTime startDate, DateTime endDate, int memberId) {
		this.contingentId = contingentId;
		this.startDate = startDate;
		this.endDate = endDate;
		this.memberId = memberId;
	}
	
	public Contingent(int memberId, DateTime startDate, DateTime endDate) {
		this.memberId = memberId;
		this.startDate = startDate;
		this.endDate = endDate;
	}	
	
	public Contingent(String fName, String lName, int contingentId, DateTime startDate, DateTime endDate) {
		this.fName = fName;
		this.lName = lName;
		this.contingentId = contingentId;
		this.startDate = startDate;
		this.endDate = endDate;
	}


	public int getContingentId() {
		return contingentId;
	}


	public void setContingentId(int contingentId) {
		this.contingentId = contingentId;
	}


	public DateTime getStartDate() {
		return startDate;
	}


	public void setStartDate(DateTime startDate) {
		this.startDate = startDate;
	}


	public DateTime getEndDate() {
		return endDate;
	}


	public void setEndDate(DateTime endDate) {
		this.endDate = endDate;
	}


	public int getMemberId() {
		return memberId;
	}


	public void setMemberId(int memberId) {
		this.memberId = memberId;
	}

	public String getfName() {
		return fName;
	}

	public void setfName(String fName) {
		this.fName = fName;
	}

	public String getlName() {
		return lName;
	}

	public void setlName(String lName) {
		this.lName = lName;
	}
}
